* Use open-rewrite to migrate from JDK8 to JDK11#453
Merged
ag-ramachandran merged 3 commits intomasterfrom Jan 8, 2026
Merged
Conversation
* Update release notes
There was a problem hiding this comment.
Pull request overview
This pull request introduces a breaking change by migrating the minimum required Java version from Java 8 to Java 11. The migration leverages OpenRewrite to systematically update the codebase with Java 11 best practices, including replacing deprecated APIs and modernizing Maven compiler plugin configurations.
- Updated minimum Java version from 1.8 to 11 across all Maven modules
- Replaced
Paths.get()withPath.of()in both production and test code (10 occurrences across 7 files) - Modernized Maven compiler plugin configuration by replacing
<source>/<target>with<release>tag
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pom.xml | Updated project version to 8.0.0, changed java.version from 1.8 to 11, and added OpenRewrite Maven plugin for migration |
| CHANGELOG.md | Added release notes for version 8.0.0 documenting the breaking change for Java 11 requirement |
| quickstart/pom.xml | Updated java.version from 1.8 to 11 and replaced source/target with release in maven-compiler-plugin |
| samples/pom.xml | Replaced source/target with release in maven-compiler-plugin configuration |
| ingest/pom.xml | Replaced source/target with release in maven-compiler-plugin configuration |
| data/pom.xml | Replaced source/target with release in maven-compiler-plugin configuration |
| ingest/src/test/java/com/microsoft/azure/kusto/ingest/StreamingIngestClientTest.java | Replaced Paths import with Path and updated Paths.get() to Path.of() |
| ingest/src/test/java/com/microsoft/azure/kusto/ingest/QueuedIngestClientTest.java | Replaced Paths import with Path and updated Paths.get() to Path.of() (3 occurrences) |
| ingest/src/test/java/com/microsoft/azure/kusto/ingest/E2ETest.java | Replaced Paths import with Path and updated Paths.get() to Path.of() (2 occurrences) |
| ingest/src/test/java/com/microsoft/azure/kusto/ingest/AzureStorageClientTest.java | Replaced Paths import with Path and updated Paths.get() to Path.of() (7 occurrences) |
| data/src/test/java/com/microsoft/azure/kusto/data/auth/AadAuthenticationHelperTest.java | Replaced Paths import with Path and updated Paths.get() to Path.of() (4 occurrences) |
| data/src/test/java/com/microsoft/azure/kusto/data/UtilitiesTest.java | Replaced Paths import with Path and updated Paths.get() to Path.of() |
| data/src/test/java/com/microsoft/azure/kusto/data/ConnectionStringBuilderTest.java | Replaced Paths import with Path and updated Paths.get() to Path.of() (2 occurrences) |
| data/src/main/java/com/microsoft/azure/kusto/data/UriUtils.java | Replaced Paths import with Path and updated Paths.get() to Path.of() in production code |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
AsafMah
approved these changes
Jan 7, 2026
tanmaya-panda1
approved these changes
Jan 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a breaking change by updating the minimum required Java version to Java 11 (previously Java 8) across the project. In addition, it modernizes the codebase by replacing deprecated usages of
Paths.getwithPath.ofand updates Maven compiler plugin configurations to use the<release>flag. These changes ensure better compatibility with newer Java features and enhance maintainability.Breaking Change:
The minimum supported Java version is now Java 11. Users must upgrade from Java 8 to Java 11 or later to use this SDK.
Build and Dependency Updates:
Updated all Maven
pom.xmlfiles to setjava.versionto 11 and replaced<source>/<target>with<release>in themaven-compiler-pluginconfiguration.Replaced all usages of
Paths.getwithPath.ofin both source and test files to align with Java 11 best practices.This description is auto-generated